package com.example.xiaoshuo_yudu.mapper;

import com.example.xiaoshuo_yudu.entity.entity.Users;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 * 用户基本信息表 Mapper 接口
 * </p>
 *
 * @author xusen
 * @since 2025-07-25
 */
@Mapper
public interface UsersMapper extends BaseMapper<Users> {
    @Select("select * from users where username = #{username}")
    Users getUsersByUsername(String username);
}
